package com.wsoft.portal.query.theme;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Author z001
 * @Date 2024/12/27 10:13
 */
@Data
public class ThemeBaseQuery {

    @Schema(description = "主题编码")
    @NotBlank(message = "主体编码不能为空")
    private String code;

    @Schema(description = "主题名称")
    @NotBlank(message = "主体名称不能为空")
    private String name;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "是否默认")
    private Integer isDefault;

    @Schema(description = "是否启用")
    private Integer isEnable;

    @Schema(description = "描述")
    private String description;
}
